//
//  distance.h
//  map-matching
//
//  Created by Lv Xin on 16/5/12.
//  Copyright © 2016年 Lv Xin. All rights reserved.
//

#ifndef distance_h
#define distance_h

#include <cmath>

#define PI 3.14159265
#define EARTH_RADIUS 6378.137

double rad(double d);

double distance2meter(double lat1, double lng1, double lat2, double lng2);

#endif /* distance_h */
